package com.guan.core.entity;

import java.util.ArrayList;
import java.util.List;

/**
 * bean原型，用来存储xml中的配置
 * Created by Administrator on 2018/1/9 0009.
 */
public class BeanEntity {
    //唯一标志
    private String id;
    //bean的作用域范围
    private String scope;
    //bean的class的全路径
    private String className;
    //bean中的属性列表
    private List<Property> props = new ArrayList<Property>();
    private Class clazz;
    public void addProperty(Property property){
        props.add(property);
    }
    public String getId() {
        return id;
    }

    public Class getClazz() {
        return clazz;
    }

    public void setClazz(Class clazz) {
        this.clazz = clazz;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getScope() {
        return scope;
    }

    public void setScope(String scope) {
        this.scope = scope;
    }

    public String getClassName() {
        return className;
    }

    public void setClassName(String className) {
        this.className = className;
    }

    public List<Property> getProps() {
        return props;
    }

    public void setProps(List<Property> props) {
        this.props = props;
    }
}
